package com.atguigu.dao;

import com.atguigu.pojo.Setmeal;
import com.github.pagehelper.Page;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author Eric
 * @Create 2020-09-17  12:04
 * @Version project-workspace-0912
 **/
public interface SetmealDao {

    //添加套餐
    void add(Setmeal setmeal);
    //添加套餐 绑定的  跟团游
    void setSetmealAndTravelgroup(HashMap<String, Integer> map);
    //分页查询套餐
    Page<Setmeal> findPage(String queryString);

    List<Setmeal> findAll();

    Setmeal findById(int id);

    List<Map<String, Object>> findSetmealCount();
}
